@echo off

set destination_dir=filecopy
echo 确实要删除目录?:%destination_dir%
set /p confirm=继续(y)：
::if条件没有括号
if not %confirm% == y (
	goto the_end
)

set base_dir =  %~dp0
pushd %base_dir%
rmdir /S /Q %destination_dir%\
popd
:the_end